<?php
/*
 * @Descripttion: 
 * @version: 1.0
 * @Author: Sam
 * @Date: 2020-10-21 15:27:53
 * @LastEditors: Sam
 * @LastEditTime: 2020-10-21 16:01:46
 */

namespace app\api\controller\user;
use app\api\model\User as UserModel;
use think\Db;

class User {
    
    /**
     * @name: 小程序登录
     * @Author: Sam
     * @Date: 2020-10-21 15:34:00
     * @msg: 
     * @param {*}
     * @return {*}
     */
    public function login(){
        $model   = new UserModel;
        show(1, 'success', $model->login());
    }
}